module.exports = function () {
    this.socket.on('initUser', this.init)

    this.socket.on('updateOnline', this.updateOnline);

    this.socket.on('updateFriendReq', this.updateFriReq);
    this.socket.on('updateFriList', this.updateFriList);

    this.socket.on('updateMessage', this.updateMessage);
    this.socket.on('addMoreMessage', this.addMore);

    this.socket.on('delChatAccess', this.delMessage);
}